Enqueue Method

Task Parallel System.Threading

Adds an object to the end of the ConcurrentQueue<(Of <(T>)>).

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub Enqueue ( _
	item As T _
)
C#
public void Enqueue(
	T item
)

Parameters

item
Type: T
The object to add to the end of the ConcurrentQueue<(Of <(T>)>). The value can be a null reference (Nothing in Visual Basic) for reference types.

See Also